Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add more debugging screens #1577

Open
wants to merge 2 commits into
base: release-1.21
Choose a base branch
from

Conversation

YassinNouh21
Copy link
Contributor

@YassinNouh21 YassinNouh21 commented Feb 9, 2025

📝 Summary

This PR fixes #1534

Description

This PR adds three debug-only screens to the drawer for rapid testing of mosque-related features. The screens include:

  • Eid Mubarak Screen: Opens the TakberatAleidScreen wrapped in MosqueBackgroundScreen.
  • Duaa Eftar Screen: Opens the DuaaEftarScreen wrapped in MosqueBackgroundScreen.
  • Duaa Between Adhan & Iqamah Screen: Opens the DuaaBetweenAdhanAndIqamaaScreen wrapped in MosqueBackgroundScreen.

Each screen is accessible via a DrawerListTitle widget using the timer icon and localized text. These entries are enabled only in debug mode to ensure they do not appear in production builds.

Tests

🧪 Use case 1

💬 Description:

  • Open the debug drawer in the app.
  • Tap on the Eid Mubarak entry to navigate to the TakberatAleidScreen within the mosque background.
  • Tap on the Duaa Eftar entry to navigate to the DuaaEftarScreen within the mosque background.
  • Tap on the Duaa Between Adhan & Iqamah entry to navigate to the DuaaBetweenAdhanAndIqamaaScreen within the mosque background.

📷 Screenshots or GIFs (if applicable):

Screen Recording 2025-02-08 at 9 18 03 PM

Checklist:

  • Coding Standards: I have reviewed my code to ensure it follows the project's coding standards.
  • Testing: I have tested the changes and they work as expected.
  • Merge Conflicts: I have resolved any merge conflicts with the latest main/development branch.
  • Branch Status: The branch is up-to-date with the target branch (main/development).

YassinNouh21 and others added 2 commits January 28, 2025 14:50
- Add Eid Mubarak screen to debug drawer menu
- Add Iftar Dua screen to debug drawer menu
- Add Dua Between Adhan and Iqama screen to debug drawer menu
- Add localization string for Dua Between Adhan and Iqama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add missed screens in debug menu and walkthrough (eid, iftar, ...etc)
1 participant